/**
 * Copyright 2008-2009. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights
 * reserved. <a>http://www.cqcis.com</a>
 */
package com.cqcis.uip.base.framework.core.cluster;

import java.util.Map;

/**
 * 关系
 * 
 * @author huangmy
 * @date 2009-1-5
 */
public class ClusterRelation {
	private Map<String, ClusterNode> nodes; // 所有的node
	private Map<String, String> relations; // 关联

	public ClusterRelation(Map<String, ClusterNode> nodes,
			Map<String, String> relations) {
		this.nodes = nodes;
		this.relations = relations;
	}

	public Map<String, ClusterNode> getNodes() {
		return nodes;
	}

	public Map<String, String> getRelations() {
		return relations;
	}

}
